<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
	{:token()}
    <input type="hidden" name="row[id]" value="{$row.id}">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">指定设备:</label>
        <div class="col-xs-12 col-sm-8">
            <table class="table table-striped table-bordered table-hover table-nowrap" width="100%">
				<tr><th></th><th>设备序列号</th><th>设备名称</th><th>设备类型</th><th>设备版本号</th></tr>
				{foreach name="sbList" item="vo"}
				<tr>
					<td><input type="checkbox" name="row[shebei][]" value="{$vo.id}" <?php if(in_array($vo['id'], $shebei)) { ?> checked="checked" <?php } ?> ></td>
					<td>{$vo.device_serial}</td>
					<td>{$vo.device_name}</td>
					<td>{$vo.device_type}</td>
					<td>{$vo.device_version}</td>
				</tr>
				{/foreach}
			</table>
		</div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
